package cn.smbms.service.role.impl;

import cn.smbms.beans.Role;
import cn.smbms.dao.role.RoleDao;
import cn.smbms.service.role.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ Author   ：陈慧杰
 * @ Date     ：Created in 9:16 2021/12/8
 */
@Service("roleService")
public class RoleServiceImpl implements RoleService {
    @Autowired
    @Qualifier("roleDao")
    private RoleDao roleDao;

    @Override
    public List<Role> getRoleList() {
        return roleDao.getRoleList();
    }
}
